local router = require("tianku.core.Router")

local _M = {
    get = function(path, handler) return router:rule(path, handler, "GET") end,
    post = function(path, handler) return router:rule(path, handler, "POST") end,
    resource = router.resource,
    group = router.group
}

return _M